<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>我的收藏</title>
    <link rel="stylesheet" href="../../static/css/common/adaptor.css">
    <link rel="stylesheet" href="../../static/css/common/common.css">
    <link rel="stylesheet" href="../../static/css/me/collection.css">
</head>

<body>
    <div class="layout">
        <div class="header"><span>我的收藏</span>
            <div class="backArrow"></div>
        </div>
        <div class="productList">
           <!-- 动态渲染 -->
        </div>
    </div>
    <script type="text/template" id="productList">
        {{each collectionList as item index}}
        <div class="productItem" data-id="{{item.id}}">
            <div class="productPic">
                <img src="{{item.pic}}" alt="">
                <div class="delBtn">删除</div>
            </div>
            <div class="productMsg">
                <div class="BrandName">{{item.brandName}}</div>
                <div class="ProductName">{{item.productName}}</div>
                <div class="Price">￥{{item.price.toFixed(2)}}</div>
                <div class="delIcon">...</div>
            </div>
        </div>
        {{/each}}
        <div class="end"><img src="../../static/img/theend@3x.png" alt=""></div>
    </script>
    <script src="../../static/assets/jquery/jquery.min.js"></script>
    <script src="../../static/assets/art-template/template.js"></script>
    <script src="../../static/assets/pullmaster/pull.min.js"></script>
    <script src="../../static/js/config/config.js"></script>
    <script src="../../static/js/me/collection.js"></script>
</body>

</html>